Contents | Index | < Browse | Browse >
LETTERstrspnULETTER
Counts the longest span of characters in a string.
Overview
#include <string.h>
index = strspn(s,chars);
size_t index;
const char *s;
const char *chars;
Portability
ANSI
Description
Returns the position of the first character in "s", which is not contained
in "chars".
Returns
The position of the first character not in "chars".